package com.kernel;

import com.gui.LogWindow;

/**
 *
 * @author sweetie
 */
public final class Log 
{
    private static LogWindow logger;
    public final static int ERROR_MSG = 0;
    public final static int SUCCESS_MSG = 1;
    
    private Log ()
    {
        
    }
    
    public static void logStart ()
    {
        logger = new LogWindow();
        logger.setVisible(true);
    }
    
    public static void sendResponse (String message, int type)
    {
        logger.appendMessage(message, type);
    }
}
